package com.hst.capacity.domain.repository.redis;

import com.hst.capacity.domain.model.response.setting.RouteVO;

public interface CacheRedis {

    static final String ORDER_PRICE_KEY = "order-price:%s";

    static final String ORDER_DRIVER_KEY = "order-driver-info:%s";

    static final String ORDER_TC_RIDE_GRAB_KEY = "order-tc-ride-grab";

    static final String LINE_NAME_KEY = "line-name:%s";

    static final String LINE_GRAB_NUM_KEY = "line-grab-num:%s";

    static final String VEHICLE_TYPE_KEY = "vehicle_type_key:%s";

    void writeOrderPriceValue(String keySuffix, String value);

    String getOrderPriceValue(String keySuffix);

    void writeOrderDriverValue(String keySuffix, String value);

    void clearOrderDriverValue(String keySuffix);

    String getOrderDriverValue(String keySuffix);

    void writePartyDriverValue(String keySuffix, String value);

    void writeTcRideOrderGrabValue(String key, Object value);

    Object getTcRideOrderGrabValue(String key);

    void writeLineGrabMaxNumValue(String keySuffix, Integer value);

    Integer getLineGrabMaxNumValue(String keySuffix);

    void writeLineNameValue(String keySuffix, String value);

    String getLineNameValue(String keySuffix);

    void writeVehicleTypeNameValue(String keySuffix, String value);

    String getVehicleTypeNameValue(String keySuffix);

    //RouteVO calOrderDistance(int coordinateType, String origins, String destinations);

}
